package com.yangmin.springcloud.service.impl;

import com.yangmin.springcloud.service.PaymentHystrixService;
import org.springframework.stereotype.Component;

@Component
public class PaymentHystrixHandlerService implements PaymentHystrixService {
    @Override
    public String paymentHistrixInfo_OK(Integer id) {
        return "服务超时：ok";
    }

    @Override
    public String paymentHistrixInfo_Outtime(Integer id) {
        return "服务超时：outtime";
    }
}
